def run(params:list[str]):
    from modelscope.pipelines import pipeline
    from modelscope.utils.constant import Tasks
    from ApiBase import apiBase

    try:
        cnt = apiBase.argv(1,'高捷，祖籍江苏，本科毕业于东南大学')
        semantic_cls = pipeline(Tasks.information_extraction, 'damo/nlp_bert_relation-extraction_chinese-base-commerce', model_revision='v1.0.0')
        re=semantic_cls(input='#纯棉白色已经收到。质量非常好。一般的厚实。尺寸规格。和商家描述的一样。') # "#"表示属性词缺省
        print(re)
    finally:
        semantic_cls=None
        apiBase.close()
